﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Toom.CellularAutomata.GUI
{
	public partial class FormAbout : Form
	{
		public FormAbout()
		{
			InitializeComponent();


			StringBuilder sb = new StringBuilder();

			sb.AppendFormat("Product: {0}\r\n", Application.ProductName);
			sb.AppendFormat("Version: {0}\r\n", Application.ProductVersion);
			//sb.AppendFormat("Copyright: {0}\r\n", Application.);
			sb.AppendLine();
			sb.AppendFormat("StartupPath: {0}\r\n", Application.StartupPath);


			textAbout.Text = sb.ToString();

			textAbout.Select(0, 0);
		}

		private void linkProjectWebsite_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
		{
			System.Diagnostics.Process.Start("http://camtools.codeplex.com");
		}

		private void buttonClose_Click( object sender, EventArgs e )
		{
			this.Close();
		}
	}
}
